
import request from "../utils/request";
import { RequestMethod, SearchResposeType } from "../types/search";

export function getSearchData(): Promise<SearchResposeType[]> {
  return request.request({
    method: RequestMethod.GET,
    url: "/data.json",
  });
}
